namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("LOG_ACCESS")]
    public partial class LOG_ACCESS
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(40)]
        public string LOG_ID { get; set; }

        [Key]
        [Column(Order = 1)]
        public DateTime LOG_TIME { get; set; }

        [Key]
        [Column(Order = 2)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long DEVICE_ID { get; set; }

        public long? LOG_USER { get; set; }

        public bool? LOG_ENENTTYPE { get; set; }

        public bool? LOG_ATTSTATE { get; set; }

        public bool? LOG_VERIFYMODEL { get; set; }

        public bool? LOG_ISVALID { get; set; }

        [StringLength(50)]
        public string LOG_DESC { get; set; }
    }
}
